import { defineComponent } from 'vue';
import GLayout from '/@/shared/components/g-layout/index.vue';

export default defineComponent({
  components: { GLayout },
  data() {
    return {
      form: {
        label: null,
        value: null,
        disabled: null,
      },
    };
  },
  methods: {
    validate() {
      (this.$refs.form as any).validate().then((res) => {
        console.log(res);
      });
    },
  },
});
